<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>视频全屏快捷键 - 选项</title>
  <style>
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
      width: 350px;
      padding: 20px;
      margin: 0 auto;
      color: #333;
      background-color: #f9f9f9;
    }
    
    h1 {
      color: #4285f4;
      margin-top: 0;
      border-bottom: 1px solid #eee;
      padding-bottom: 10px;
    }
    
    .toggle-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 20px 0;
    }
    
    .switch {
      position: relative;
      display: inline-block;
      width: 60px;
      height: 34px;
    }
    
    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    
    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: .4s;
      border-radius: 34px;
    }
    
    .slider:before {
      position: absolute;
      content: "";
      height: 26px;
      width: 26px;
      left: 4px;
      bottom: 4px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    }
    
    input:checked + .slider {
      background-color: #4285f4;
    }
    
    input:focus + .slider {
      box-shadow: 0 0 1px #4285f4;
    }
    
    input:checked + .slider:before {
      transform: translateX(26px);
    }
    
    .status-text {
      font-weight: bold;
      font-size: 1.1em;
    }
    
    .instructions {
      background-color: #fff;
      padding: 15px;
      border-radius: 5px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    h2 {
      color: #4285f4;
      font-size: 1.2em;
      margin-top: 0;
    }
    
    ul {
      padding-left: 20px;
    }
    
    li {
      margin-bottom: 8px;
    }
    
    .footer {
      margin-top: 20px;
      text-align: center;
      color: #666;
      font-size: 0.9em;
    }
  </style>
</head>
<body>
  <h1>视频全屏快捷键</h1>
  
  <div class="toggle-container">
    <span class="status-text">快捷键状态：</span>
    <label class="switch">
      <input type="checkbox" id="hotkey-toggle">
      <span class="slider"></span>
    </label>
  </div>
  
  <div class="instructions">
    <h2>使用说明</h2>
    <ul>
      <li>在任何网页上播放视频时，按下键盘上的 <strong>F</strong> 键即可触发全屏模式</li>
      <li>再次按下 <strong>F</strong> 键可以退出全屏模式</li>
      <li>该插件支持大多数主流视频网站，包括 YouTube、B站、腾讯视频等</li>
      <li>您可以通过切换上面的开关来启用或禁用此功能</li>
    </ul>
  </div>
  
  <div class="footer">
    <p>版本 1.1 | 感谢使用！</p>
  </div>

  <script src="options.js"></script>
</body>
</html>
